<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html 	xmlns="http://www.w3.org/1999/xhtml"
 		xmlns:h="http://java.sun.com/jsf/html"
 		xmlns:f="http://java.sun.com/jsf/core">

<f:loadBundle basename="messagesview" var="msg" />

<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<h:outputStylesheet library="css" name="theme1.css" target="body"/>
	<title>Login</title>
</h:head>

<h:body onload="document.getElementById('login:username').focus()" >

<!-- ******************************** code user and password ********************************************** -->

<div class="bodyLogin">
	<h:form id="frmlogin">
		<h:panelGrid columns="1" width="503" style="height : 37px; width : 159px;">
		
			<h:outputLabel value="#{msg.username}" /> 
			
			<h:inputText id="username" value="#{user.description}" size="15" maxlength="12" tabindex="1">
				 
			</h:inputText>
			 
			<h:outputLabel value="#{msg.password}"/>
			
			<h:inputSecret id="pasword" value="#{user.password}" size="15" maxlength="10" tabindex="2">
				
			</h:inputSecret>
				
		</h:panelGrid>
		
		<h:commandButton value="ok" action="#{loginAction.execute}"/>
		<br/>
		
		<h:panelGrid binding="#{loginAction.panel}"/>
		
	</h:form>
</div>		

<!-- ******************************** end code user and password ****************************************** -->
</h:body>
</html>